package com.aykls.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author aykls
 * @since 2022-11-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Admin implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;
      @TableField(value = "mobile")
    private String mobile;
      @TableField(value = "password")
    private String password;

  public Admin(String mobile, String password) {
    this.mobile = mobile;
    this.password = password;
  }

  public Admin() {
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public void setToken(String token) {
  }

  public Integer getId() {
    return id;
  }

  public String getMobile() {
    return mobile;
  }

  public String getPassword() {
    return password;
  }

}
